package com.douyu.test;

import com.geccocrawler.gecco.annotation.Attr;
import com.geccocrawler.gecco.annotation.Href;
import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HtmlBean;

/**
 * @Description :
 * @FileName: Room.java
 * @Author :WeiHui.Zhang
 * @Data : 2016年3月25日 下午7:30:58
 * @Version:V1.00
 */
public class Room implements HtmlBean {

	private static final long serialVersionUID = 1L;

	//@Attr("href")
	@Href(click = true)
	@HtmlField(cssPath = " a")
	private String roomUrl;

	@Text
	@HtmlField(cssPath = " .mes-tit > h3")
	private String roomTitle;

	@Attr(value = "data-original")
	@HtmlField(cssPath = ".imgbox > img")
	private String roomPhoto;

	@Text
	@HtmlField(cssPath = " .dy-name")
	private String zhubo;

	@Text
	@HtmlField(cssPath = " .dy-num")
	private String audience;

	@Text
	@HtmlField(cssPath = " .mes-tit > span")
	private String catagory;

	public String getRoomUrl() {
		return roomUrl;
	}

	public void setRoomUrl(String roomUrl) {
		this.roomUrl = roomUrl;
	}

	public String getRoomTitle() {
		return roomTitle;
	}

	public void setRoomTitle(String roomTitle) {
		this.roomTitle = roomTitle;
	}

	public String getRoomPhoto() {
		return roomPhoto;
	}

	public void setRoomPhoto(String roomPhoto) {
		this.roomPhoto = roomPhoto;
	}

	public String getZhubo() {
		return zhubo;
	}

	public void setZhubo(String zhubo) {
		this.zhubo = zhubo;
	}

	public String getAudience() {
		return audience;
	}

	public void setAudience(String audience) {
		this.audience = audience;
	}

	public String getCatagory() {
		return catagory;
	}

	public void setCatagory(String catagory) {
		this.catagory = catagory;
	}

}
